class CreateCustomers < ActiveRecord::Migration
  def self.up
  create_table :customers, :primary_key => :id do |t|
		t.integer	:id
		t.integer	:studentid,			:null => false
		t.string  :first_name,     :null => false
		t.string  :last_name,     :null => false
		t.text		:other_info
		t.string	:phone
		t.string	:email
    end
	Customer.create :id => 1,
					:studentid => "999999",
					:first_name => "Brett",
					:last_name => "Sargent",
					:other_info => "Late returns",
					:phone => "123-456-7890",
					:email => "brett.sargent@western.edu"
  end

  def self.down
    drop_table :customers
  end
end

